<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title> 城市综合信息管理系统</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link th:href="@{/public/bootstrap/css/bootstrap.min.css}" rel="stylesheet">
    <link th:href="@{/css/Basic_data/font-awesome.css}" rel="stylesheet">

    <link th:href="@{/css/index/animate.css}" rel="stylesheet">
    <link th:href="@{/css/index/style.css}" rel="stylesheet">
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->
    <script>if(window.top !== window.self){ window.top.location = window.location;}</script>
</head>

<body class="gray-bg">

<div class="middle-box text-center loginscreen  animated fadeInDown">
    <div>
        <div>

            <h1 class="logo-name">city</h1>

        </div>
        <h3>欢迎使用 城市综合信息管理系统</h3>

        <form id="login_form" class="m-t" role="form" th:action="@{/admin/login}" method="post">
<!--            <div th:if="${not #strings.isEmpty(session.errMsg)}" class="form-group">-->
<!--                <div class="alert alert-danger" th:text="${session.errMsg}"></div>-->
<!--            </div>-->
            <div class="form-group ">
                <input type="text" id="userName" name="userName" class="form-control" placeholder="用户名" required="true">
            </div>
            <div class="form-group ">
                <input type="password" id="password" name="password" class="form-control" placeholder="密码" required="true">
            </div>
            <div class="row">
                <div class="col-lg-6">
                    <input type="text" class="form-control" name="verifyCode" placeholder="请输入验证码" required="true">
                </div>
                <div class="col-lg-offset-6">
                    <img alt="单击图片刷新！" class="pointer" th:src="@{/common/captcha}"
                         onclick="this.src='/common/captcha?d='+new Date()*1">
                </div>
            </div><br>
            <div class="form-group ">
                <button type="submit" class="btn btn-primary block full-width m-b">登 录</button>
            </div>
            <p class="text-muted text-center"> <a href="login.html#"><small>忘记密码了？</small></a> | <a href="register.html">注册一个新账号</a>
            </p>

        </form>
    </div>
</div>

<!-- 全局js -->
<script th:src="@{/public/jquery/jquery.min.js}"></script>
<script th:src="@{/public/bootstrap/js/bootstrap.min.js}"></script>


</body>

</html>
